home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d3 / vde161.arc / VINST.REF < prev    next >
Text File  |  1991-03-28  |  39KB  |  663 lines

  1.  
  2.  
  3.                                   VINST.REF
  4.                                   ---------
  5.                   Instructions for VDE Installation Utility:
  6.                           version 1.61 (27 Mar 1991)
  7.  
  8.                              (c)1987-91, E. Meyer
  9.  
  10.  
  11.  
  12. ================================  CONTENTS  ==================================
  13.  
  14.  
  15.  1. RUNNING VINST.  What VINST is, and how to use it.
  16.  
  17.  2. INSTALLATION.  Installing for different computer hardware:
  18.                    Screen size; IBM compatibility; Colors; etc.
  19.  
  20.  3. MENUBAR MODE.  Choice of operating mode; customization of User menu bar.
  21.  
  22.  4. USER OPTIONS.  Customization of many initial VDE settings.
  23.  
  24.  5. PRINTER INSTALLATION.  Using printer features: print modes, graphics, etc.
  25.  
  26.  6. DEFAULT MACRO KEYS.  Installing a default set of macro keys.
  27.  
  28.  7. DEFAULT FUNCTION KEYS.  Installing the function keys.
  29.  
  30.  8. GRAPHICS.  Modifying the default set of graphics characters.
  31.  
  32.  9. CHARACTER WIDTHS.  Modifying the default set of character widths.
  33.  
  34. 10. RESTORE DEFAULTS.  Undoing previous modifications.
  35.  
  36.  
  37. ===========================  1. RUNNING VINST  ===============================
  38.  
  39.  
  40.      VINST is a utility that lets you modify your copy of the VDE editor:
  41.               * Installing for use on non-standard computers
  42.               * Selecting or customizing a driver for your printer
  43.               * Configuring settings and options to suit your tastes
  44.  
  45.      VDE comes configured for a standard IBM PC; you will need to make some 
  46. changes before using it on a non-IBM compatible computer, or on an IBM PC with 
  47. an old-style CGA graphics card (see INSTALLATION).  You will want to choose 
  48. the correct driver for your printer, and may eventually want to make some 
  49. small modifications to it.  And, once you start editing with VDE, you will 
  50. probably discover some of its many settings and options that you would like to 
  51. change.  For example, if you intend to use MenuBar mode, you can make this the 
  52. default instead of Command mode.
  53.  
  54.               NOTE: VINST allows VDE to be customized for best 
  55.          performance on a variety of computer hardware.  If you are 
  56.          using equipment (computer, graphics card, printer, etc) 
  57.          which VDE does not work well with, or does not seem to be 
  58.          taking full advantage of, please provide the appropriate 
  59.          technical or programmer's information from your manual so 
  60.          that future versions of VDE can support it.
  61.  
  62.      You should begin using VINST soon; once you have made changes to VDE, the 
  63. initial welcome/copyright messages in VDE and VINST will no longer appear.
  64.      Your copies of the program files will be called VDE.COM and VINST.COM, 
  65. though of course you can rename them (I usually call them V.COM and VI.COM).  
  66. To run VINST simply type:
  67.               C>vinst                 if your copy is still called "VDE.COM"
  68.         or    C>vinst V.COM           if it's called "V.COM" (or whatever).
  69.      Notes: VINST modifies the file VDE.COM; always keep an unmodified 
  70. original copy of all VDE files in case problems arise!  The version numbers of 
  71. VINST and VDE (and any auxiliary key or printer files, see below) must agree.
  72.  
  73.      VINST is fully menu-driven; it will present you with a set of categories 
  74. that corresponds to each section below, starting with Installation; within 
  75. each category, each value is named and displayed, giving you the opportunity 
  76. to change it.  The program is largely self-documenting, and steps you through 
  77. each item individually.  The main menu also offers a "Help" option, which 
  78. displays some of the following information on screen to assist you.
  79.  
  80.      VINST uses several types of data entry for different parameters:
  81.   TEXT - Just type in the character(s).
  82.   LOGICAL - Yes/No.  Just type "Y" or "N".
  83.   DECIMAL - Enter a number from 0 to 255.
  84.   HEX - Enter a two-digit hexadecimal byte value 00-FF.
  85.            (Don't omit lead zeros.)
  86.   BYTE STRING - at the parenthesis, enter the LENGTH of the string (the number 
  87.            of bytes, in hex), then the bytes themselves.  Each byte may be 
  88.            entered either in hex, or by pressing the single quote key "`" 
  89.            followed by the equivalent ASCII character.
  90.                      Example:   (02) 1B 3D     or     (02) `Esc `=
  91.            This format is referred to below as "(#),bytes".
  92.  
  93.      Each time, the current value will display, and then you will be prompted 
  94. for a new one.  (Just press [Ret] to leave the existing setting.)  VINST can't 
  95. always check for illegal values; be careful what you enter!
  96.      At most points in VINST, you can press [Esc] to return immediately to the 
  97. Main Menu, or ^C to abort the program.
  98.  
  99.      For the entry of codes in the Printer Installation, you may find the 
  100. following equivalence table for hexadecimal and character values helpful.
  101.  
  102.  
  103.                                ASCII/HEX TABLE
  104.  
  105.   Dec Hex Char   Dec Hex Char   Dec Hex Char   Dec Hex Char   Dec Hex Char
  106.   ------------------------------------------------------------------------
  107.     0  00  ^@     26  1A  ^Z     54  36   6     80  50   P    106  6A   j
  108.     1  01  ^A     27  1B  ^[     55  37   7     81  51   Q    107  6B   k
  109.     2  02  ^B     28  1C  ^\     56  38   8     82  52   R    108  6C   l
  110.     3  03  ^C     29  1D  ^]     57  39   9     83  53   S    109  6D   m
  111.     4  04  ^D     30  1E  ^^     58  3A   :     84  54   T    110  6E   n
  112.     5  05  ^E     31  1F  ^_     59  3B   ;     85  55   U    111  6F   o
  113.     6  06  ^F     32  20 space   60  3C   <     86  56   V    112  70   p
  114.     7  07  ^G     33  21   !     61  3D   =     87  57   W    113  71   q
  115.     8  08  ^H     34  22   "     62  3E   >     88  58   X    114  72   r
  116.     9  09  ^I     35  23   #     63  3F   ?     89  59   Y    115  73   s
  117.    10  0A  ^J     36  24   $     64  40   @     90  5A   Z    116  74   t
  118.    11  0B  ^K     37  25   %     65  41   A     91  5B   [    117  75   u
  119.    12  0C  ^L     38  26   &     66  42   B     92  5C   \    118  76   v
  120.    13  0D  ^M     39  27   '     67  43   C     93  5D   ]    119  77   w
  121.    14  0E  ^N     40  28   (     68  44   D     94  5E   ^    120  78   x
  122.    15  0F  ^O     41  29   )     69  45   E     95  5F   _    121  79   y
  123.    16  10  ^P     42  2A   *     70  46   F     96  60   `    122  7A   z
  124.    17  11  ^Q     43  2B   +     71  47   G     97  61   a    123  7B   {
  125.    18  12  ^R     44  2C   ,     72  48   H     98  62   b    124  7C   |
  126.    19  13  ^S     45  2D   -     73  49   I     99  63   c    125  7D   }
  127.    20  14  ^T     46  2E   .     74  4A   J    100  64   d    126  7E   ~
  128.    21  15  ^U     47  2F   /     75  4B   K    101  65   e    127  7F  del
  129.    22  16  ^V     48  30   0     76  4C   L    102  66   f    --graphics:--
  130.    23  17  ^W     49  31   1     77  4D   M    103  67   g    128  80
  131.    24  18  ^X     50  32   2     78  4E   N    104  68   h    129  81
  132.    25  19  ^Y     51  33   3     79  4F   O    105  69   i    130  82 ...
  133.   -------------------------------------------------------------------------
  134.  
  135.  
  136. =============================  2. INSTALLATION  ==============================
  137.  
  138.  
  139.      VDE can display text on the screen in two very different ways: on an IBM 
  140. PC it writes directly to video RAM for greater speed; otherwise, it can run on 
  141. any MSDOS computer, using normal character output with ANSI codes for screen 
  142. positioning.  (In addition, the HP Portable Plus is also supported as a "near 
  143. compatible".)
  144.      The IBM PC installation gives the best performance, but requires an IBM 
  145. standard BIOS and video adapter (MDA,CGA,EGA,VGA).  A Hercules (HGC) card 
  146. should also work, as it is MDA compatible.  On an EGA/VGA system the use of 
  147. color mode is recommended, even with a monochrome monitor (MODE CO80 or BW80, 
  148. not MONO).  You can adjust the keyboard handling, display colors, and cursor 
  149. type to your preferences.
  150.      The non-IBM installation will run on any MSDOS system that supports ANSI 
  151. standard screen control sequences (you must have the statement DEVICE=ANSI.SYS 
  152. or equivalent in your CONFIG.SYS file).  You must also specify the size of 
  153. your screen.  This installation can of course also be used on IBM compatibles, 
  154. in the event that direct video access is undesirable.  It will even work in 
  155. "remote" applications, such as high-speed modem connections, with appropriate 
  156. terminal software on the user's end.
  157.      VINST can use Installation files to store your installation, menubar, and 
  158. user option settings.  These should have a file type of ".VDI", for ease of 
  159. identification.  You have the option to read in or write out such a file, as 
  160. well as proceeding to edit your installation.
  161.  
  162. IBM PC PARAMETERS:
  163.  
  164. Screen colors - you can select seven different colors: for normal text; block 
  165.     text; place marks and printer codes; soft CRs and hyphens; header; menus 
  166.     and prompts; and header/menu highlights.  Each is specified by an 
  167.     "attribute byte" consisting of two hex digits, for a background and 
  168.     foreground color.  ("17" = "1", blue background, + "7", white text.)  You 
  169.     will see a color palette displayed on screen; the color digits are:
  170.         *0 = BLACK   4 = red      *8 = GREY           C = bright red
  171.          1 = blue    5 = magenta   9 = bright blue    D = bright magenta
  172.          2 = green   6 = brown     A = bright green   E = yellow
  173.          3 = cyan   *7 = WHITE     B = bright cyan   *F = BRIGHT WHITE
  174.     (* - All MDA screens can display black, white, and bright white; in some 
  175.     cases, grey may also be visible.)
  176.          If you have an EGA/VGA display, the palette will include all 256 
  177.     colors (00-FF).  Otherwise, you will see only 128 (00-7F); on MDA/CGA 
  178.     systems, the background attributes 8-F produce blinking video (ugh).
  179. Border colors - you can select two border colors: one to operate within VDE, 
  180.     the other to restore on exit to DOS.  Each is one digit from the list 
  181.     above.  Example: to set a white border within VDE, then return to black on 
  182.     exit, enter "70".  To keep a black border at all times enter "00".
  183.  
  184. Cursor type (D/B/U) - You can choose the cursor type you want during editing.  
  185.     A full "B"lock cursor is more easily visible on the LCD displays of laptop 
  186.     computers; some prefer "U"nderline.  Choose "D"efault to leave it whatever 
  187.     it was before VDE was run.  (In 43/50 line mode, it is always a block.)
  188. Screen size (code A-G) - You can choose your default screen size; normally 
  189.     this is BLANK, " ", meaning whatever is in effect when VDE is loaded.  The 
  190.     letter codes have the same meaning as at the AltE command prompt:
  191.             A...G  on VGA - 20,25,28,33,40,50,57 lines
  192.             A...F  on EGA - 17,25,29,35,43,50    lines
  193.     "F", for example, automatically changes to 50 lines on entering VDE.
  194. Video card for 132 col mode (N/C/A/P) - VDE's AltA command (132 text columns) 
  195.     works only with supported types of video cards.  Choose "C" if you have a 
  196.     Cardinal VGA card (Chips & Technologies BIOS); or "A" for an ATI card 
  197.     (e.g. "EGA Wonder"); or "P" for a Paradise VGA+ card.  If you have none of 
  198.     these, enter "N"; the AltA command will not work.
  199. Need to avoid "snow" (Y/N) - Normally No.  Some video cards (like old IBM 
  200.     CGAs) experience ugly "snow" or noise when programs write directly to 
  201.     video memory.  If this happens to you, select "Y", and VDE will time its 
  202.     video access according to horizontal retrace intervals.  (Display speed 
  203.     will be slightly reduced.)
  204.  
  205. Ignore enhanced keyboard (Y/N) - Normally No; if you have an enhanced (AT) 
  206.     keyboard VDE will recognize all its keys.  But some "popup" (TSR) programs 
  207.     may not work properly with this input method.  If you encounter such 
  208.     trouble, set this to Yes.  (F11, F12, and a few other key combinations 
  209.     will not work.)
  210.  
  211.  
  212. NON-IBM PC PARAMETERS: (automatically set for IBM PC)
  213.  
  214. Clock speed in MHz - Set this decimal value to reflect your CPU clock speed. 
  215.     Common values are 5 (for 4.77), 8, 10, etc.  For faster 286/386 CPUs you 
  216.     may want to set this even higher than the clock speed.  Adjust the value 
  217.     if desired to change the length of delays in VDE.  (At present this 
  218.     affects only the horizontal scroll delay and the "Esc;" macro command.)
  219.  
  220. Terminal initialization - enter an optional string of code (#),bytes to be 
  221.     sent to the screen after clearing the screen, before (re)entering VDE.
  222. Terminal deinitialization - another string of code (#),bytes to be sent to the 
  223.     screen upon exiting from VDE back to DOS.  (Max. lengths: 0F = 15 bytes.)
  224.  
  225. Viewable columns (80-255) - normally 80; set to the column width of your 
  226.     display, if different.
  227. Viewable lines (16-255) - normally 25; if you have a shorter or longer default 
  228.     display (on entry to VDE), enter the length here.
  229. Fast scroll supported (Y/N) - Does your computer respond to the ANSI sequences 
  230.     for insert/delete line (Esc[L,Esc[M)?  If so, set this to "Y" for a faster 
  231.     display; otherwise "N".  (MSDOS ANSI.SYS does not support these codes; 
  232.     some enhanced console drivers, such as NANSI.SYS, do.)
  233. DEC VT/Rainbow keyboard (Y/N) - If you have a DEC computer or terminal, answer 
  234.     "Y" here.  VDE will then support its arrow keys for cursor movement, plus 
  235.     the following special keys: "Help" = help menu; "Find" = find; "Select" = 
  236.     cut; "Insert Here" = paste; "Remove" = block delete; "Prev/Next Screen" = 
  237.     page back/forward.  (NOTE: the VDE command to define a macro will be 
  238.     changed from Esc[ to Esc{ if you select this option.)
  239.  
  240. =============================  3. MENUBAR MODE  ==============================
  241.  
  242.  
  243.      You can choose which operating mode you prefer (MenuBar or Command).  In 
  244. addition, the "User" menu bar can be configured to your taste: to provide 
  245. different keywords for accessing functions, or to add functions that are not 
  246. otherwise available in the existing menu bars.  (The default installation has 
  247. the "Ruler" function (^OT) in place, the other four left blank.)
  248.      VINST can use Installation files to store your installation, menubar, and 
  249. user option settings.  These should have a file type of ".VDI", for ease of 
  250. identification.  They are accessed through the INSTALLATION menu choice.
  251.  
  252. Use MenuBar mode (Y/N) - Do you want to start out in MenuBar mode?  If not, 
  253.     Command mode is used.  See OPERATING MODES.
  254.  
  255. "User" menu bar - If you will be using MenuBar mode, there is a special menu 
  256.     bar provided for you to configure yourself.  The five items on this bar 
  257.     are referred to as {User: item 1-5}.  To define each, you have to provide 
  258.     two things: a "keyword" and the "command" to execute.  (As usual you can 
  259.     just press [Ret] to leave the existing value alone.)
  260.          The keyword appears in the menu bar display, like "Center" or "rUler" 
  261.     in the "Text" menu: it describes what the item will do if selected, and 
  262.     the capital "C" or "U" indicates which key letter must be pressed to 
  263.     select it.  Your keyword can be up to 12 characters long, and must contain 
  264.     exactly ONE capitalized letter (A-Z), which will be the selection key.  
  265.     (Don't use the same key for more than one item.)  An unused entry may be 
  266.     simply left blank, or filled with "---" if you prefer.
  267.          The command determines the function which will be performed when the 
  268.     item is selected from the menu.  (See COMMAND MODE for a full listing.)  
  269.     Each command consists of one or two keystrokes.
  270.          For example: the "sCreen" menu has an item "Window" which gives you a 
  271.     split window on two files, but there is no way to split the window on two 
  272.     locations in the SAME file (as you can with the ^OW command) via existing 
  273.     menu bars.  However, you can easily add this to the User menu bar:
  274.                 For   "{User: item #}"    type    "One-file win"
  275.                 For   "Command:"          type    "^OW"
  276.     You now have a new MenuBar command, {User:One-file win}, which is invoked 
  277.     by pressing [Esc],U,O.
  278.  
  279.  
  280. =============================  4. USER OPTIONS  ==============================
  281.  
  282.  
  283.      You can change a variety of default settings in your copy of VDE, 
  284. according to your taste.  "Default" means the state assumed when VDE is first 
  285. run, or in the absence of any previous user commands.
  286.      VINST can use Installation files to store your installation, menubar, and 
  287. user option settings.  These should have a file type of ".VDI", for ease of 
  288. identification.  They are accessed through the INSTALLATION menu choice.
  289.  
  290. Autosave interval (min.) - Enter your choice for the interval in minutes.  A 
  291.     value of 0 turns this feature off.
  292. Preserve BAKup files (Y/N) - Should a backup file (.BAK) be kept when you save 
  293.     over an existing file?  Choose "Y" to play safe, "N" to save disk space.
  294. Use ^Z as EOF mark (Y/N) - Should an EOF marker (^Z, 1Ah) be considered the 
  295.     end of an ASCII file?  (In modes other than /A,/N it is always treated 
  296.     so.)  MSDOS software should not require this, but some early programs 
  297.     (like their CP/M predecessors) did still use this convention.
  298. Filetypes to exclude - You can specify four filetypes (or type masks, using 
  299.     "?" wildcards) to "hide" from VDE.  (Originally set to ".COM" and ".EXE".)  
  300.     Such files will not show in the ^KF directory display (unless the filetype 
  301.     is specified explicitly), and cannot be edited.  This is a protection 
  302.     feature, for non-text files which can be damaged by trying to edit them.  
  303.     To leave an entry unused, type "...", NOT blanks.
  304. Default file mode - Which of the file modes (A,U,N,C,W,5,P,X,M) described in 
  305.     VDE.DOC do you want as the default?  (Originally "A"SCII.)
  306. Auto mode select filetypes - You can specify four filetypes (or type masks, 
  307.     using "?" wildcards) as exceptions to the above default: for example, you 
  308.     could declare all ".ASM" files to default automatically to "N" mode, or 
  309.     all files ".89?" to "W" mode.  To leave an entry unused, type "...".
  310.  
  311. Header on (Y/N) - Should the header (^OQ) start out ON?
  312. Ruler on (Y/N) - Should the ruler (^OT) start out ON?
  313. Insert mode (I/W/O) - Which insert (^V) setting do you want to start out with: 
  314.     Insert, Word insert, or Overstrike (insert off)?
  315. Auto format (Y/N) - Should auto format (^OM) start out ON?
  316. Double spacing (Y/N) - Should double spacing (^OS) start out ON?
  317. Proportional spacing (Y/N) - Should proportional spacing (^OK) start out ON?
  318. Hard CR display (Y/N) - Should Hard CR display (^OB) start out ON when editing 
  319.     in document modes?
  320. Hyphenation (Y/N) - Should hyphenation (^OH) start out ON in documents?
  321. Case-INsensitive search (Y/N) - Do you want string searches (^QF) to be case 
  322.     insensitive by default?  Normally, No.  (If Yes, specifying the "U"pper- 
  323.     case option while using ^QF will force a case SENSITIVE search.)
  324.  
  325. Left and Right margin columns (1-255) - Default margin settings for Document 
  326.     modes.  Set both to 1 to disable wordwrap and reformatting entirely.
  327. Fixed tab display width (4,8,16) - Hard tabs display at fixed column 
  328.     intervals.  (Normally 8;  4, 8, and 16 are the ONLY legal choices.)
  329. Reserve status line (Y/N) - Do you want VDE to reserve the bottom (normally 
  330.     25th) screen line for use as a status or function key line by other 
  331.     software?  (Normally No, VDE uses this line for text.)
  332. Scroll overlap (0-255) - This is the number of lines of overlap between 
  333.     screens when scrolling: the smaller, the larger the scroll.  Originally 2, 
  334.     for a nearly full scroll.  Must be smaller than your screen size!
  335. Align new page with screen (Y/N) - When you use the page find commands ^QI, 
  336.     ^QL, ^QN, do you want the first line at the top of the screen?  Originally 
  337.     No, it is positioned in the same way as an ordinary Find.
  338.  
  339. Beep on error (Y/N) - Do you want a beep when a VDE error message displays?
  340. [BkSp] (^H) deletes to left (Y/N) - Do you want the [BackSpace] (^H) key to 
  341.     delete characters?  Originally No, it just moves the cursor left.
  342. [Del] deletes at cursor (Y/N) - Do you want the [Delete] key (and ^[BkSp]) to 
  343.     remove the cursor character?  Originally No, it deletes the previous one.
  344.  
  345. Variable tab stops -  Enter up to 8 variable tab stop columns, in ascending 
  346.     order.  Fill unused values with 0.  Originally: 6, 15, 35, 55.
  347.  
  348. Show time as AM/PM (Y/N) - Do you want the time stamp to display in 12 hour 
  349.     format (AM/PM)?  Originally Yes.  If No, the time shows in 24 hour format.  
  350.     (Affects AltT command and ^T in print headers.)
  351. Show date in Euro format (day,mo,yr) (Y/N) - Do you want the date to display 
  352.     in European format?  Originally No, meaning US Format (mo,day,yr).  
  353.     (Affects AltD command and ^D in print headers.)
  354. Show date numerically (Y/N) - Do you want AltD to enter the date numerically 
  355.           (1/15/88)?  Originally No, meaning verbose (January 15, 1988).
  356.  
  357.  
  358. =========================  5. PRINTER INSTALLATION  ==========================
  359.  
  360.  
  361.      Printers vary enormously.  VDE can accomodate two printer drivers, each 
  362. of which can be installed to take advantage of your printer's special 
  363. features.  (Within VDE, the AltV command can be used to select the driver to 
  364. use when printing.)  The defaults installed in VDE are a standard "IBM/Epson 
  365. FX" driver, and a "Simple" driver that can send plain text to any printer, but 
  366. does not support any print controls other than underline and strikeout.  (The 
  367. "Simple" driver is also recommended for Diablo, Juki, and other daisy-wheel or 
  368. typewriter style printers.)  These and several pre-defined drivers for other 
  369. printers can be selected from a menu within VINST.
  370.      Most of the drivers in the VINST menu implement only basic codes for 
  371. print effects like italics and proportional printing; you can, however, modify 
  372. them to your taste, to implement any additional features (fonts, etc) you have 
  373. available.  After choosing a driver from the Menu, return and select "Edit 
  374. current driver".  (To modify the Alternate driver, you must temporarily switch 
  375. it to the selected one.)
  376.      An example of a more fully configured driver is "HPLJ-PacPg 25in1".  This 
  377. can be used with a HP LaserJet printer equipped with a Pacific Page 25-in-1 
  378. cartridge (or any other that provides the fonts indicated below).  It offers 
  379. the following effects:
  380.         CODE  EFFECT
  381. Normal print  Prestige Elite 10 point font, printer margin set to column 6
  382.          ^OK  Times Roman 10 point proportional font
  383.     ^B,^S,^Y  Boldface, Underline, Italics (all fonts)
  384.        ^T,^V  Superscript, Subscript using 7 point Prestige font
  385.           ^D  switch to Times Roman from Prestige and back
  386.        ^A,^N  switch to Courier 12 point from Prestige and back
  387.           ^Q  Mini Gothic 3.6 point
  388.           ^W  Presentation Bold 18 point
  389.           ^E  Math Elite 10 point
  390.           ^R  return to Prestige from ^Q,^W,^E
  391.  
  392.      If your printer is not on the driver menu, but emulates or resembles one 
  393. that is, start out using that driver, and refine it as needed.  Failing this, 
  394. you can start out with the "Simple" driver and, referring to your printer 
  395. manual, install all the necessary codes yourself.  (In this event, please 
  396. consider sending this information so that a new driver can be added to VINST.)
  397.  
  398.      VINST can use special Printer Driver files to store and retrieve other 
  399. printer definitions.  This makes it easy to save your installation and to pass 
  400. it along to others.  These files should have a type of ".VDP".  When editing 
  401. in VDE, the AltU command may be used to load such a file, putting any number 
  402. of different printer drivers at your disposal.  In VINST, you have the option 
  403. to read in or write out such a file, as well as editing the following values 
  404. individually.
  405.  
  406. Printer ID - Identify the printer you are installing.  (16 characters)
  407. Printer device - Normally "PRN", but you can choose a specific port (like 
  408.     LPT2) if your system has several printers.
  409.  
  410. Extended character set (P/R/N) - Specifies how "extended ASCII" characters 80- 
  411.     FF (graphics or foreign characters) will print.  This depends on the 
  412.     sequence of characters in your printer's fonts.  Your choices are:
  413.        <P>C8 - the standard IBM PC character set.
  414.        <R>OMAN8 - an arrangement common in laser printer fonts.  VDE will 
  415.               translate IBM graphics into Roman8 equivalents where possible.
  416.        <N>one - your printer doesn't print characters in this range at all.  
  417.               VDE will "emulate" IBM graphics, choosing overstruck pairs of 
  418.               standard characters that come close.
  419.     Note that if you are using a customized screen font that agrees with your 
  420.     printer font, whatever it may be, you should choose "P".
  421. Printer type (H/F/L/O) - Enter "H" for HP LaserJet or DeskJet, "F" for Epson 
  422.     FX (9 pin) or compatible, "L" for Epson LQ (24 pin) or compatible, or "O" 
  423.     for any other type.
  424. Send LF after CR (Y/N) - Normally Yes.  But with a few printers, which manu- 
  425.     facture their own LineFeed on receiving a Return, you will need No here.
  426.  
  427. Page length (0-255) - Set the number of text lines to print on a page.  (Does 
  428.     not include another 3 lines for a header or page number, if used.)
  429. Top margin (0-255) - Set the number of blank lines to skip as a top margin 
  430.     before printing the number of text lines set above.  Default is 0.
  431. Reserve space for header (Y/N) - Default is Yes; when printing without header 
  432.     or page number, 3 blank lines will be skipped at the top of each page, so 
  433.     that the page layout is the same as when headers are used.
  434. Left margin (0-255) - Set the number of blank columns to skip as a left margin 
  435.     before printing each line.  Useful if you can't set the margin on your 
  436.     printer with an initialization string.  Default is 0.
  437.  
  438. Printer initialization - Enter an optional string of code (#),bytes to send to 
  439.     the printer before each print job, to set default margins, print modes etc.  
  440.     Max. length here and below is 1F = 31 bytes.  (NOTE: the ^KP command has 
  441.     an option to specify additional codes at print time.  See PRINTING.)
  442. Printer deinitialization - Enter another string (#),bytes to send to the 
  443.     printer after each print job, to restore printer to desired state on exit.
  444. Envelope setup - This string (#),bytes will be sent in place of the usual 
  445.     initialization when you address an envelope with ^KPA (see ENVELOPES).  
  446.     For many printers you will need no special codes here; or, you might find 
  447.     that a linefeed or two, perhaps also a left margin command, is useful to 
  448.     position the print properly on the envelope.  You should use a pica font 
  449.     (fixed pitch, 10 cpi).
  450.          The setup codes in the HP LaserJet/DeskJet drivers assume that you 
  451.     will insert the envelope end-on in the default paper tray, and 
  452.     consequently they use a landscape font (Courier 12).  They do not specify 
  453.     "envelope size" forms, so there is no need to change the form size on the 
  454.     printer panel.  If you have a LaserJet with a second paper tray for 
  455.     envelopes, you will have to add codes here to specify this tray, and to 
  456.     your deinitialization to return to the default tray.
  457.          Printing envelopes can be complicated.  See your printer manual.
  458.  
  459. Proportional printing - Enter the codes needed to set your printer for 
  460.     proportional printing, when ^OK is engaged, and then to turn this off.  
  461.     Both strings are entered as (#),bytes.
  462.  
  463. Codes for toggles (on/off) - For six of the seven printer toggles (not ^X), 
  464.     you need to tell VDE the codes to send to your printer to produce the 
  465.     desired effect, then turn it off again.  The conventional meanings of the 
  466.     toggles are:      ^B  boldface         ^Y  italic/ribbon color
  467.                       ^D  doublestrike     ^T  superscript
  468.                       ^S  underline        ^V  subscript
  469.     but you can use them for anything you want.  Example: IBM/Epson printers 
  470.     require three-byte sequences to turn continuous underlining on and off:
  471.            Underline on   "Esc - 1"    hex 1B 2D 31   dec 27 45 49
  472.                     off   "Esc - 0"        1B 2D 30       27 45 48
  473.     You would enter the data, starting with the byte count:
  474.            Underline (^PS) on:  (03) 1B 2D 31      <--- entry in hex format
  475.                    ...and off:  (03) `Esc `- `0    <--- or by character
  476.     You should find all necessary codes in your printer manual.
  477.          (NOTES: ^PS will underline text by overstriking with "_" if you do 
  478.     not install codes for it.  ^PX requires no installation at all.)
  479.  
  480. Codes for switches - The same idea, but for switches, which send the same 
  481.     codes every time they are used.  WordStar calls the switches:
  482.           ^Q,W,E,R    user 1,2,3,4         ^A  alternate pitch
  483.                    (no standard meaning)   ^N  normal pitch
  484.     but once again, you can use them for different fonts, printer bin 
  485.     selection, or anything else.
  486.  
  487. ==========================  6. DEFAULT MACRO KEYS  ===========================
  488.  
  489.  
  490.      VDE has a set of 36 macro keys assignable to the commands Esc0...9 and 
  491. EscA...Z.  The default macro definitions are those attached to these commands 
  492. when VDE is first entered.  By changing them you can configure VDE to suit 
  493. your own specialized writing requirements.  (Any keys defined with Esc] while 
  494. using VDE override these defaults.)
  495.  
  496.      VINST can use Key Definition files to store macro key sets.  These should 
  497. have a file type of ".VDK", for ease of identification.  You have the option 
  498. to read in or write out such a file, as well as editing the keys individually.  
  499. (VDK files can also be read or saved with VDE's AltU command, but only VINST 
  500. can display the definitions, or change those in VDE.COM itself.)
  501.      VINST gives you a display much like this:
  502.  
  503.       Macro Keys:  (___ bytes free)      <---- note room available
  504.       [Esc0]<>
  505.       [Esc1]<>                           <---- "<>" flag means undefined key
  506.       [Esc2]<>
  507.       [Esc3]^[;^C                        <---- normal macro definition
  508.       [Esc4]<>
  509.       [Esc5]<N>World Wide Widgets Inc.   <---- "<N>" flag means No-rpt key
  510.       [Esc6]<>
  511.       [Esc7]<Q>^QR^KB^QC^KK^KC           <---- "<Q>" flag means Quiet key
  512.       [Esc8]<>
  513.       [Esc9]<>
  514.  
  515. Just select the number of the key you want to redefine, then type in the new 
  516. definition, much as you would in VDE.  All the same rules apply; there is a 
  517. 128-character length limitation.
  518.      There are several different ranges of keys, which can be displayed and 
  519. modified in a set of 10 at a time (for example, keys 0-9 as above, or A-J).  
  520. You can also copy definitions from one macro or function key to another.
  521.      VDE comes with a macro key file EXAMPLES.VDK, containing several macros 
  522. discussed above under MACROS and MACRO PROGRAMMING:
  523.  
  524.      [Esc0]<QN>^QR^NAltD^OF                        ;put date at top right
  525.      [Esc1]<QN>^QS^S^S^[= [^D^D                    ;move to start of paragraph
  526.      [Esc2]<QN>^[~.1^S^[1^[~.<^D^[= 2^[=^M2        ;move to start of sentence
  527.                ^S^S^[!1^[2^D^[= 2^[=^M2
  528.      [Esc3]<QN>^QS^X^[=^M]^S^V ^V^D^[![            ;soften hard-CR paragraph
  529.  
  530. (Note that "Esc" displays as "^[".)
  531.  
  532.  
  533. =========================  7. DEFAULT FUNCTION KEYS  =========================
  534.  
  535.  
  536.      VDE also has a set of 48 Function Keys (available in command mode only!), 
  537. corresponding to the [F1]...[F12] keys in their normal, Shift-, Ctrl-, and 
  538. Alt- usage (referred to collectively here as F1...F48).  These are identical 
  539. in features and functions to the Macro Keys discussed above.  You can easily 
  540. configure these to match the standard function-key configuration for 
  541. Wordstar's key overlay, to correspond to Word Perfect function-key usage, or 
  542. in any other way you like.
  543.      VINST can use Function Key Definition files to store function-key sets.  
  544. These should have a file type of ".VDF", for ease of identification.  You have 
  545. the option to read in or write out such a file, as well as editing the keys 
  546. individually.  (VDF files can also be read or written with VDE's AltU command, 
  547. but only VINST can display the definitions, or change those in VDE.COM itself.)
  548.      VINST gives you a display much like this:
  549.  
  550.       Function keys, #1-10:  (___ bytes free) <---- note room
  551.       [F1]<>
  552.       [F2]<>                                  <---- "<>" flag means empty
  553.       [F3]<>
  554.       [F4]<QN>^OL5^M^OR60^M                   <---- quiet, no-repeat key
  555.       [F5]<>
  556.       [F6]<>
  557.       [F7]<>
  558.       [F8]<>
  559.       [F9]<QN>^PS
  560.       [F0]<QN>^PY
  561.  
  562. This works just like the macro keys above, with four sets of 10 keys to define 
  563. (Normal, Shift, Ctrl, Alt), and if you have an enhanced keyboard, a separate 
  564. additional set of 8 keys for the [F11],[F12] keys in each of those states.  In 
  565. addition, you can copy definitions from one macro or function key to another.
  566.      VDE includes sample function-key files which you can read in to define 
  567. the function keys according to the usage of WordStar or Word Perfect.  The 
  568. WordStar default definitions (for version 4 and later) in WS4.VDF are:
  569.  
  570. WS4.VDF      NORMAL      SHIFT        CTRL             ALT
  571.      [F1]     ^J          ^OB          ^QF         Vertical bar graphic
  572.      [F2]     ^U          ^OC          ^QA         Horizontal bar
  573.      [F3]     ^PS                      ^L          Upper-left corner
  574.      [F4]     ^PB                      ^QI         Upper-right corner
  575.      [F5]     ^Y          ^KY          ^OL         Lower-left corner
  576.      [F6]     ^T          ^KU          ^OR         Lower-right corner
  577.      [F7]                 ^KV                      Upper T graphic
  578.      [F8]                 ^KC                      Lower T
  579.      [F9]     ^KS         ^KB          ^QS         Left T
  580.      [F0]     ^KD         ^KK          ^QD         Right T
  581.  
  582. The WP.VDF file will not "turn VDE into Word Perfect", but it does provide a 
  583. considerable degree of keystroke compatibility.  You can assign any other 
  584. functions desired to unused keys (e.g. [F9]):
  585.  
  586. WP.VDF       NORMAL      SHIFT        CTRL             ALT
  587.      [F1]     ^U         Esc?Y        AltR
  588.      [F2]     ^QF                                      ^QA
  589.      [F3]     ^J                      Esc?C            ^OD
  590.      [F4]    ^I^OL^M                  Esc?B           Esc?B
  591.      [F5]     ^KF        AltD                          ^PZ
  592.      [F6]     ^PB         ^OC                          ^OF
  593.      [F7]    Esc?E       Esc?P
  594.      [F8]     ^PS        Esc?T        Esc?S           Esc?S
  595.      [F9]
  596.      [F0]     ^KS        Esc?F        Esc[
  597.  
  598.  
  599. ==========================  8. GRAPHICS CHARACTERS  ==========================
  600.  
  601.  
  602.      VDE allows text to contain a limited, but variable, set of 32 characters 
  603. in the range 80-FFh (on an IBM PC, these are typically graphics or foreign 
  604. characters; see FOREIGN CHARACTERS and GRAPHICS).  In addition, the code ^Z 
  605. (1Ah) must be treated as a graphics character.  VINST lets you specify your 
  606. own default graphics set.  Keep a fair amount of space free in it if you 
  607. frequently work with files with many foreign or graphics characters, in order 
  608. to avoid overflowing the table.
  609.      VINST can use Graphic Definition files to store graphic character sets.  
  610. These should have a file type of ".VDG", for ease of identification.  You have 
  611. the option to read in or write out such a file, as well as editing the keys 
  612. individually.  VDE can load such files with its AltU command.
  613.  
  614.      You will be shown the current definitions, in the same format as the VDE 
  615. Graphics command.  You may select any entry to redefine (A-Z, 1-6) whether 
  616. vacant or not; or, you may clear them all.  In VINST, new graphic codes must 
  617. be entered by hex value, from 80 to FF (and 1A); a full list of graphics 
  618. characters (80-FF) can be displayed for your selection if you need it, by 
  619. typing "?" at the definition prompt.  Simply pressing [Ret] means "free" or 
  620. undefined.
  621.      Note that your Printer Installation determines how graphics will print.
  622.  
  623.  
  624. ===========================  9. CHARACTER WIDTHS  ============================
  625.  
  626.  
  627.      In order to judge the margins correctly when formatting, VDE's 
  628. proportional printing feature (^OK) needs to know how wide each character is 
  629. when it prints.  The default width table, based on a 10-point Times Roman 
  630. font, will probably work fairly well with any proportional font ("m" is wider 
  631. than "i", and so on).
  632.      If you would like to fine-tune this table to correspond to your favorite 
  633. font instead, use VINST to modify the width table as needed: you can select 
  634. each character, then enter its width (in units of 1/360") as a decimal value.
  635.      The easy way to determine these widths is to print out a file with lines 
  636. of 60 of each character.  (Don't type that out by hand; use the macro command 
  637. to repeat each letter 60 times.)  Measure the length of each line in inches, 
  638. and multiply by 6: that is the character width in 1/360".  The result is 
  639. typically between 16 and 48.)
  640.      Note that changing the width table doesn't affect how your printer 
  641. operates -- just how VDE judges the length of each line for reformatting in 
  642. proportional mode.
  643.      VINST can use Character Width files to store width data for the 
  644. proportional font(s) you use.  These should have a file type of ".VDC", for 
  645. ease of identification.  You have the option to read in or write out such a 
  646. file, as well as editing the width table.  VDE can load such files with its 
  647. AltU command.
  648.  
  649.  
  650. ==========================  10. RESTORE DEFAULTS  ============================
  651.  
  652.  
  653.      This option on the VINST menu is provided in the event that you want to 
  654. undo any changes that you (or someone else) has made to your copy of VDE.  
  655. This should return VDE to the state it was distributed in: installation for 
  656. IBM PC; Command mode; all User Options restored to their original defaults; no 
  657. Macro or Function Keys (except, for convenience, [F1]=help); printer drivers 
  658. IBM/Epson and Simple; original Graphics characters and Character widths.
  659.  
  660.  
  661.  
  662. ===================================[end]======================================
  663.